<?php

/**
 * Description of PageType
 *
 * @author Ian Clarence <ian.clarence@gmail.com>
 */
class PageType extends ActiveRecord {

    /**
     * The table name.
     */
    const TABLE = "page_type";

    /**
     * The types of panels which a page of this type may contain.
     *
     * @var array
     */
    protected $panelTypes = array();

    /**
     * The constructor.
     *
     * @param array $fields
     */
    public function __construct(array $fields = array()) {
        parent::__construct($fields);
        // $this->panelTypes = PageTypePanelType::searchFor(self::TABLE, $this->getId(), "panel_type");
    }

}